function sendToLineNotify(message, token) {
//var token = "YOUR_LINE_NOTIFY_TOKEN"; // 替换为您的LINE Notify權杖
var options = {
"method": "post",
"payload": {
"message": message
},
"headers": {
"Authorization": "Bearer " + token
}
};
// 发送POST请求到LINE Notify API
UrlFetchApp.fetch("https://notify-api.line.me/api/notify", options);
}